﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;

namespace game
{
    public static class Input
    {
        private static KeyboardState keyboardState = new KeyboardState();
        private static MouseState mouseState = new MouseState();

        public static void Update()
        {
            keyboardState = Microsoft.Xna.Framework.Input.Keyboard.GetState();
            mouseState = Microsoft.Xna.Framework.Input.Mouse.GetState();
            //Microsoft.Xna.Framework.Input.Mouse.SetPosition(ShooterGame.Instance.GraphicsDevice.Viewport.Width / 2, ShooterGame.Instance.GraphicsDevice.Viewport.Height / 2);
        }

        public static Microsoft.Xna.Framework.Input.KeyboardState Keyboard
        {
            get
            {
                return keyboardState;
            }
        }

        public static Microsoft.Xna.Framework.Input.MouseState Mouse
        {
            get
            {
                return mouseState;
            }
        }
    }
}
